home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / Libraries / SAT / SAT Invaders sample ƒ / gameGlobals.p next >
Encoding:
Text File  |  1993-09-19  |  1016 b   |  53 lines  |  [TEXT/PJMM]

  1. {=================================================}
  2. {========= GameGlobals, globals for SATInvaders ==========}
  3. {=================================================}
  4.  
  5. { Example file for Ingemars Sprite Animation Toolkit. }
  6. { © Ingemar Ragnemalm 1992 }
  7. { See doc files for legal terms for using this code. }
  8.  
  9. { This file defines the resource numbers and global variables for SATInvaders.}
  10.  
  11. unit GameGlobals;
  12.  
  13. interface
  14.  
  15.     uses
  16.         SAT;
  17.  
  18.     const
  19. {    Resource numbers}
  20.  
  21.         fileMenuRes = 1004;    { Race menu }
  22.         aboutAlrt = 1000;        { About box }
  23.         gameWindRes = 262;        { game window }
  24.  
  25. { File menu }
  26.         run = 1;
  27.         sound = 3;
  28.         fastAnimation = 4;
  29.         quit = 6;
  30.  
  31. { Game area size: }
  32.  
  33.         xsize = 500;
  34.         ysize = 320;
  35.  
  36.     var
  37.         gameWind: WindowPtr; { Window ptr. }
  38.  
  39. {    Menu handles.  There isn't any apple menu here, since TransSkel will}
  40. {    be told to handle it itself.}
  41.  
  42.         fileMenu: MenuHandle;
  43.  
  44. {      Dummy Boolean.  This may be used for Memory Management, if desired }
  45.         dummy: Boolean;
  46.  
  47.         slask: OSerr;
  48.  
  49.         level: longint;
  50.  
  51. implementation
  52.  
  53. end.